/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package manager;

import entity.Customer;
import session.stateless.CustomerSessionBeanLocal;

/**
 *
 * @author Vincent
 */
public class CustomerManager {
    private CustomerSessionBeanLocal customerSessionBeanLocal; 
     
    public CustomerManager() 
    { 
         
    } 
     
     
    public CustomerManager(CustomerSessionBeanLocal customerSessionBeanLocal) 
    { 
        this.customerSessionBeanLocal = customerSessionBeanLocal; 
    } 
     
     
    /* 
    public Long verifyLogin(String userName, String password) 
    { 
        Customer customer = customerSessionBeanLocal.getCustomer(userName); 
         
        if (customer == null) return null; 
        else 
        { 
            if(customer.getCustomerPassword().equals(password)) return 
                customer.getSaleLeadId(); 
            else return null; 
        } 
    }*/
}
